package com.ithm;

import java.util.Scanner;

public class bianli {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入TMD，关键字");
        String a=sc.next();
        String b=a.replaceAll("TMD","***");
        System.out.println(b);
    }
}
